<?php
global $_RQ,$_AR;
//判断是否来自场景体,底部菜单不变
if($_RQ['plugin_name']){
	$this->session('plugin_name',$_RQ['plugin_name']);
}
$plugin_name=$this->session('plugin_name')?$this->session('plugin_name'):'';
if($plugin_name){
	$return['footernav']=$this->plugin($plugin_name)->plugin_setting('basic')['footernav'];
}
$return['pluginset']=$this->plugin_setting('basic');
if($_SESSION['os']=='windows'){
	$return['pc_set']=$this->plugin_setting('pc_set');
	$site=core_setting('site');
	$return['pc_set']['icp']=$return['pc_set']['icp']?:$site['icp'];
	$install = check_account_permission('jy_giftbao');
	if($install){
		$return['ismerch']=true;
		$return['ismerchurl']=custom_url('jy_merch/manage.login/');
	}
}
?>